package lab02.test15;

public class Test15 {
    public static void main(String[] args)
    {
        Graduate zhangsan=new Graduate();
        zhangsan.name="zhangsan";
        zhangsan.sex="男";
        System.out.println(zhangsan.toString());
        zhangsan.fee=6000;
        zhangsan.pay=3000;
        if(12*zhangsan.pay-2*zhangsan.fee<2000)
        {
            System.out.println("You need a loan!");
        }
        else
            {
            System.out.println("You income is enough!");
        }
    }



}
